<template>
	<view>
		<view @tap="$emit('play',$event)" class="user-block" :data-index="param.id">
        <view v-if="play==param.id">
            <video autoplay="true" @fullscreenchange="$emit('fullscreenchange',$event)" class="video" controls="true" direction="" loop="true" :src="param.url" style="width:750upx;height:400upx;"></video>
        </view>
        <view style="position:relative;" v-else>
            <image lazyLoad="true" mode="aspectFill" :src="param.pic_url" style="width:750upx;height:400upx;display:block"></image>
            <image class="video-play" lazyLoad="true" :src="__wxapp_img.dapp.video_play.url"></image>
        </view>
    </view>
	</view>
</template>

<script>var myVue = {};
	export default {
		props:['param','template_index','__wxapp_img','show_notice','play','time_all'],
		data() {
			return {
				
			};
		}
	}
</script>

<style scoped>

</style>
